/* 当屏幕大于1280px时,container的宽度为1280px */

@media screen and (min-width:1280px) {
    .container {
        width: 1280px;
    }
}

body {
    background-color: #F5F5F5;
}

.container {
    background-color: #fff;
}

a:hover {
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}


/* header区域 */

header {
    padding-left: 0 !important;
}

header .logo {
    margin: 0;
    background-color: #429AD9;
}

header .logo a {
    display: block;
}

header .logo a span {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
    color: #fff;
    background-color: #429AD9;
}


/* nav部分 */

header nav {
    border-bottom: 1px solid #ccc;
    background-color: #EEEEEE;
}

header nav a {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    color: #666;
    font-size: 16px;
}

header nav a::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    line-height: 50px;
    padding-right: 5px;
}

header nav a:hover {
    background-color: #fff;
    color: #333;
}


/* main区域 */

.main-top {
    border-bottom: 1px solid #ccc;
}

.main-top .newTop {
    overflow: hidden;
}

.main-top .newTop li {
    float: left;
    width: 25%;
    height: 128px;
    padding-right: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.main-top .newTop li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff
}

.main-top .newTop li p {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 41px;
    width: 100%;
    background-color: rgba(0, 0, 0, .7);
    margin: 0;
    padding: 5px 10px 0;
}

.main-top .newTop li img {
    width: 100%;
    height: 128px
}

.main-top .newTop li:nth-child(1) {
    width: 50%;
    height: 266px;
}

.main-top .newTop li:nth-child(1) a {
    font-size: 20px;
}

.main-top .newTop li:nth-child(1) a p {
    padding: 0 10px;
    line-height: 41px;
}

.main-top .newTop li:nth-child(1) img {
    width: 100%;
    height: 266px;
}


/* main的底层区域 */

.main-bottom .mainBox {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.main-bottom .mainBox p {
    color: #777;
}

.main-bottom .mainBox p:nth-child(3) {
    color: #333;
}

.main-bottom .mainBox img {
    padding-top: 10px;
}


/* aside区域 */

aside a {
    display: block;
}

aside a:nth-child(1) {
    margin-bottom: 20px;
}

aside a img {
    width: 100%;
}

aside a .hot {
    width: 100%;
    padding: 0 20px 20px;
    border: 1px solid #ccc;
}

aside a .hot .hotBtn {
    width: 28px;
    height: 20px;
    line-height: 20px;
    padding: 6px 12px;
    background-color: #337AB7;
    border: 1px solid transparent;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    box-sizing: content-box;
}

aside a .hot .hotBtn:hover {
    background-color: #286090;
}

aside a .hot .text {
    color: #337AB7
}

aside a .hot p {
    font-size: 12px;
    color: #666;
}

aside a .hot p:hover {
    color: #23527C;
}


/* 小屏幕下的元素变化 */

@media screen and (max-width:992px) {
    header .logo img {
        margin: 0 auto;
    }
    header nav {
        overflow: hidden;
    }
    header nav a {
        float: left;
        width: 20%;
    }
}


/* 超小屏幕下的元素变化 */

@media screen and (max-width:768px) {
    .main-top .newTop li {
        width: 50%;
    }
    .main-top .newTop li:nth-child(1) {
        width: 100%;
    }
    .main-bottom .mainBox h3 {
        font-size: 16px;
    }
}